|
charger24 2.2.1
|
Charger 24 Click example. More...
Macros | |
| #define | MIKROBUS_POSITION_CHARGER24 MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Charger 24 Click example.
This example demonstrates the use of the Charger 24 Click board. The application initializes the device, enables battery charging, and continuously monitors the charging and USB power status. It displays whether the battery is currently charging, fully charged, or if no input is detected, as well as whether the USB power is valid.
The demo application is composed of two sections:
Initializes the logger and the Charger 24 Click driver and enables charging while disabling boost mode.
Periodically reads and logs the charging and USB power status.
| #define MIKROBUS_POSITION_CHARGER24 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |